package cn.jeefast.modules.platform.service;

import cn.jeefast.common.entity.MbCommissioner;
import cn.jeefast.common.utils.R;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 医学专员表
 服务类
 * </p>
 *
 * @author theodo
 * @since 2020-01-06
 */
public interface MbCommissioner1Service extends IService<MbCommissioner> {
    /**
     * 添加或编辑专员
     * @param commissioner
     * @return
     */
	R addOrSave(MbCommissioner commissioner);

    /**
     * 根据关联项目获取专员（分页）
     * @param pid
     * @param page
     * @param limit
     * @return
     */
    List<MbCommissioner> listByProj(Long pid,Integer page,Integer limit);
}
